WPM\Includes\Admin\WPM_Bulk_Translate D

Total Complexity 145
Dependencies 2
Dependents 1
Total lines 1,099
Lines of code 805
Logical lines of code 306
Comment lines 132
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
import_data_from_file()
C
32 22 116
xml_to_array_1_2()
B
37 22 78
xml_to_array_2_1()
B
40 20 60
format_xliff_data()
A
39 11 68
import_translations()
A
45 11 43
perform_bulk_action()
A
38 8 78
generate_xliff_12()
A
41 5 63
render_xliff_groups()
S
44 5 53
load_scripts()
S
48 6 36
parse_bulk_request()
S
50 6 31
add_errors()
S
55 5 19
parse_request_before_redirect()
S
57 5 17
display_form()
S
64 4 10
handle_bulk_action()
S
59 3 15
display_notices()
S
61 3 12
init()
S
58 2 15
render_import_translations()
S
54 1 28
generate_xliff_20()
S
56 1 20
generate_xliff_21()
S
56 1 20
add_settings_error()
S
65 2 10
add_action()
S
75 1 4
__construct()
S
66 1 9